package com.letu.elasticsearch.config;

import org.springframework.core.convert.converter.Converter;

import java.util.Date;

public class LongToDate  implements Converter<Long, Date> {
    @Override
    public Date convert(Long aLong) {
        return new Date(aLong);
    }
}